﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using Utility;
using System.Data;

namespace MsgCenter.Web.Pages.Write
{
    public partial class Write_AdminSend : BaseUI.BasePage
    {
        protected string strRequestID = ParamsOfRequest.Request("ModuleID");
        protected StringBuilder strSelect = new StringBuilder();
        protected void Page_Load(object sender, EventArgs e)
        {
            using (DataTable dt = BLL.BLLServiceHelper.GetDicService().GetDicTable("060000"))
            {
                strSelect.Append("<select multiple=\"\" class=\"width-90 chosen-select tag-input-style\" id=\"sltSendType\"  data-placeholder=\"请先选择发送类型\">").AppendLine();
                foreach (DataRow dr in dt.Rows)
                {
                    strSelect.Append("<option value='" + dr["DicID"].ToString() + "'>" + dr["DicName"].ToString() + "</option>").AppendLine();
                }
                strSelect.Append("</select>");

            }
        }
    }
}